package com.cn.service.server.Equipment;

import com.cn.bean.pojo.ComponentMechanical.EquipmentMechanicalStructureMappingTable;
import com.cn.bean.pojo.lbj.*;
import com.cn.bean.pojo.yw.BusinessProjectSingleParameterItemCurrentDataTable;
import com.cn.bean.vo.Equipment.ComponentBasicInformation;
import com.cn.bean.vo.Equipment.EquipmentStructure;

import java.util.List;

public interface SingleRegistrationTableService {
    List<SingleRegistrationTable> selectMain(SingleRegistrationTable singleRegistrationTable);
    List<ComponentBasicInformationTable>selectComponentBasicInformationTable(ComponentBasicInformationTable componentBasicInformationTable);
    List<SingleRegistrationTableSub>selectSub(SingleRegistrationTableSub sub);
    List<ComponentBasicInformation>selectComponentBasicInformation(ComponentBasicInformation componentBasicInformation);
    List<SingleRegistrationTableSub>selectSingleSub(SingleRegistrationTableSub sub);
    List<EquipmentStructure>selectEquipmentStructure(EquipmentStructure equipmentStructure);
    List<SingleRegistrationTableSub>selectSingleRegistrationTableSub(int id);
    List<EquipmentMechanicalStructureMappingTable>selectEquipmentMappingTable(EquipmentMechanicalStructureMappingTable equipmentMechanicalStructureMappingTable);
    int insertSingleRegistrationTable(SingleRegistrationTable singleRegistrationTable);
    int insertSingleRegistrationTableSub(SingleRegistrationTableSub sub);
    int insertCurrentDataTable(SingleParameterItemCurrentDataTable currentDataTable);
    int insertHistoryDataTable(SingleParameterItemHistoryDataTable historyDataTable);
    int updateMain(SingleRegistrationTable singleRegistrationTable);
    int delSub(int id);
    Integer getSingleRegistrationTableAutoid();
    Integer getSubAutoid();
    int delSingleRegistrationTableSub(int id);
    int delMain(int id);
    int auditMain(int id);
    int auditMain0(int id);
    SingleRegistrationTableSub selectPartSingleId(String partSingleId);
}
